package com.example.pets.model.entities;



import java.util.ArrayList;
import java.util.List;

public class Place {

    public String plid;

    private String plname; // 地点名称

    private String description; // 地点描述

    private List<String> imagesUrl; // 地点图片 URL 的列表

    private String location; // 地点的地理坐标点

    public Place() {
        this.imagesUrl = new ArrayList<>();
    }


    public Place(String plid, String plname, String description, List<String> imagesUrl, String location) {
        this.plid = plid;
        this.plname = plname;
        this.description = description;
        this.imagesUrl = imagesUrl;
        this.location = location;
    }

    public Place(String plname, String description, List<String> imagesUrl, String location) {
        this.plname = plname;
        this.description = description;
        this.imagesUrl = imagesUrl;
        this.location = location;
    }


    public String getPlid() {
        return plid;
    }


    public String getPlname() {
        return plname;
    }

    public void setPlname(String plname) {
        this.plname = plname;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getImagesUrl() {
        return imagesUrl;
    }

    public void setImagesUrl(List<String> imagesUrl) {
        this.imagesUrl = imagesUrl;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }


    @Override
    public String toString() {
        return "Place{" +
                "plid='" + plid + '\'' +
                ", plname='" + plname + '\'' +
                ", description='" + description + '\'' +
                ", imagesUrl=" + imagesUrl +
                ", location=" + location +
                '}';
    }
}

